package cn.iocoder.yudao.module.portal.controller.admin.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.validation.annotation.Validated;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@Validated
@Schema(description = "管理后台 - 目录信息分页查询请求参数")
public class CatalogInfoPageReqVO {

    @Schema(description = "目录ID", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "catalogId不能为空")
    private String catalogId;

    @Schema(description = "当前页码", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "currentPage不能为空")
    private Integer currentPage;

    @Schema(description = "每页条数", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "pageSize不能为空")
    private Integer pageSize;
}
